const express = require("express");
const router = express.Router();

router.get('/getInfo', (req, res) => {
    // 使用req.user获取用户信息
    res.send({
        status: 200,
        data: {
            message: "获取用户信息成功",
            userinfo: req.user,
        },
    })
})
module.exports = router;
